package com.cw.japp

class UserProfile {

	Date birthDate
	String headline
	String city
	String country
	String gender
	String sexualPref
	String maritalStatus
	String ethinicity
	String eyeColor
	String hair
	String bodyType
	Integer weight
	Integer height
	String weightUnit
	String heightUnit
	String smoke
	String drink
	String drugs
	String occupation
	String school
	String favFood
	String pets
	String cars
	String talent
	String perfectMate
	String turnOnsOffs
	String perfectDate
	String meaningOfLife
	String favoriteBooks
	String favoriteMovies
	String favoriteMusic
	String hobbies
	String craziestThingEverDone
	String anywhereRightNow
	String fiveThingsCannotLiveWithout
	String doForFun
	String reasonToKnowMe
	String moreAboutMe
	Integer status
	Date lastModifiedDate
	Date createdDate
	User user

	static belongsTo = [User]

	static mapping = {
		id column: "profile_id"
		version false
		favFood type : "text"
		pets type : "text"
		cars type : "text"
		talent type : "text"
		perfectMate type : "text"
		turnOnsOffs type : "text"
		perfectDate type : "text"
		meaningOfLife type : "text"
		favoriteBooks type : "text"
		favoriteMovies type : "text"
		favoriteMusic type : "text"
		hobbies type : "text"
		craziestThingEverDone type : "text"
		anywhereRightNow type : "text"
		fiveThingsCannotLiveWithout type : "text"
		doForFun type : "text"
		reasonToKnowMe type : "text"
		moreAboutMe type : "text"
	}

	static constraints = {
		birthDate nullable: true
		headline nullable: true, maxSize: 200
		city nullable: true, maxSize: 100
		country nullable: true, maxSize: 100
		gender nullable: true, maxSize: 45
		sexualPref nullable: true, maxSize: 45
		maritalStatus nullable: true, maxSize: 45
		ethinicity nullable: true, maxSize: 45
		eyeColor nullable: true, maxSize: 45
		hair nullable: true, maxSize: 45
		bodyType nullable: true, maxSize: 45
		weight nullable: true
		height nullable: true
		weightUnit nullable: true, maxSize: 45
		heightUnit nullable: true, maxSize: 45
		smoke nullable: true, maxSize: 45
		drink nullable: true, maxSize: 45
		drugs nullable: true, maxSize: 45
		occupation nullable: true
		school nullable: true
		favFood nullable: true
		pets nullable: true
		cars nullable: true
		talent nullable: true
		perfectMate nullable: true
		turnOnsOffs nullable: true
		perfectDate nullable: true
		meaningOfLife nullable: true
		favoriteBooks nullable: true
		favoriteMovies nullable: true
		favoriteMusic nullable: true
		hobbies nullable: true
		craziestThingEverDone nullable: true
		anywhereRightNow nullable: true
		fiveThingsCannotLiveWithout nullable: true
		doForFun nullable: true
		reasonToKnowMe nullable: true
		moreAboutMe nullable: true
		status nullable: true
		lastModifiedDate nullable: true
		createdDate nullable: true
	}
}
